package com.lyn.tencent_health_code.entity;

import com.alibaba.fastjson.JSON;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author almost
 */
@ApiModel("修改密码")
@Data
public class ChangePassword {
    @ApiModelProperty(value = "旧密码")
    private String oldPassword;
    @ApiModelProperty(value = "新密码")
    private String newPassword;
    @ApiModelProperty(value = "确认新密码")
    private String confirmTheNewPassword;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
